package com.imooc.security.user;


import java.util.List;

/**
 * @author : cjf
 * @date : 2021-03-09 14:54
 **/
public interface UserService {

    UserInfo login(UserInfo user);

    UserInfo create(UserInfo user);

    UserInfo update();

    void delete(Long id);

    UserInfo get(Long id);

    List<UserInfo> findByName(String name);
}
